package cn.shujuhai.cms.controller.structParamType;

import cn.shujuhai.cms.service.StructParamTypeService;
import cn.shujuhai.common.pluging.data.ResultVo;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: NiuYaHu
 * @Date: 2025/8/5 15:15
 * @Description:
 **/
@RestController
@RequestMapping("/cms/structParamType")
@RequiredArgsConstructor
public class StructParamTypeController {
    private final StructParamTypeService structParamTypeService;

    @GetMapping("/list")
    public ResultVo<?> getStructParamTypeList() {
        return this.structParamTypeService.getList();
    }
}
